package com.foot.travel.fragment;

import android.os.Bundle;
import android.widget.TextView;

import com.foot.travel.R;
import com.shizhefei.fragment.LazyFragment;

public class SchoolTravelDetailFragment extends LazyFragment{

	private TextView mExplainView;
	public static final String EXPLAIN_TEXT = "explain_text";
	private String mExplainText;
	
	@Override
	public void onCreateViewLazy(Bundle savedInstanceState) {
		super.onCreateViewLazy(savedInstanceState);
		setContentView(R.layout.school_travel_detail_explain_item);
		mExplainView = (TextView) findViewById(R.id.explain);
		mExplainText = getArguments().getString(EXPLAIN_TEXT);
		mExplainView.setText(mExplainText);
	}

	/**
	 * 在所属的Activity的onCreate函数之后回调 完成控件的初始化
	 */
	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
	}
	
}
